package com.lyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyl.domain.SysPrivilege;

import java.util.Set;


/**
 * @author lylbell
 * @date 2021-06-22 13:31
 */
    
public interface SysPrivilegeMapper extends BaseMapper<SysPrivilege> {


    /**
     * 查找该角色对应的权限
     * @param roleId
     * @return
     */
    Set<Long> findPrivilegeByRoleId(Long roleId);
}